<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>文件上传后展示</title>
</head>
<body>
<div th:data-ckeditor-url="${'/meta/file/' + file.id}" th:data-ckeditor-id="${CKEditor}"
    th:data-ckeditor-funcnum="${CKEditorFuncNum}" th:text="${'成功上传至：/meta/file/' + file.id}"/>
<script src="/plugins/jQuery/jquery-2.2.3.min.js"></script>
<script>
    var e = $('[data-ckeditor-id]');
    // console.log(e);
    // alert(e.attr('data-ckeditor-funcnum'));
    // CKEDITOR.instances.editor1.getData()
    window.parent.CKEDITOR.tools.callFunction( e.attr('data-ckeditor-funcnum'), e.attr('data-ckeditor-url'));
</script>
</body>
</html>